<h2>DESCRIPTION</h2>

<em>v.db.dropcolumn</em> drops a column from the attribute table connected
to a given vector map. It automatically checks the connection for the specified
layer. <em>v.db.dropcolumn</em> omits to delete the 'cat' column which is
relevant to keep the connection between vector map and table.

<h2>NOTES</h2>

<em>v.db.dropcolumn</em> is a front-end to <em>db.execute</em> to allow easier usage.
<p>The existing database connection(s) can be verified with <em>v.db.connect</em>.

<h2>EXAMPLES</h2>

Dropping a column:<br>
<div class="code"><pre>
g.copy vect=roadsmajor,myroads
v.info -c myroads
v.db.dropcolumn myroads column=SHAPE_LEN
v.info -c myroads
</pre></div>

<h2>SEE ALSO</h2>

<em>
<a href="db.connect.html">db.connect</a>,
<a href="db.dropcolumn.html">db.dropcolumn</a>,
<a href="db.execute.html">db.execute</a>,
<a href="v.db.addcolumn.html">v.db.addcolumn</a>,
<a href="v.db.connect.html">v.db.connect</a>,
<a href="v.db.droptable.html">v.db.droptable</a>,
<a href="v.db.select.html">v.db.select</a>,
<a href="v.db.update.html">v.db.update</a><br>
<a href="sql.html">GRASS SQL interface</a>
</em>

<h2>AUTHOR</h2>

Markus Neteler

<!--
<p>
<i>Last changed: $Date$</i>
-->
